import java.util.Arrays;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: mirac
 * Date: 2025-07-30
 * Time: 22:21
 */
public class Main {
    public static void main(String[] args) {
        int[] A = {1,2,3};
        int[] B = {2,4};
        func(A,B);
        System.out.println(Arrays.toString(A));
    }

    public static void func(int[] A,int[] B) {
        A = B;
    }
}
